package com.dragondig.tetris;

import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.util.Log;

public class LTetri extends SuperTetri {
	LTetri(){
		tetriContainer[0][0][2] = true;
		tetriContainer[0][1][0] = true;
		tetriContainer[0][1][1] = true;
		tetriContainer[0][1][2] = true;

		tetriContainer[1][0][0] = true;
		tetriContainer[1][1][0] = true;
		tetriContainer[1][2][0] = true;
		tetriContainer[1][2][1] = true;

		tetriContainer[2][0][0] = true;
		tetriContainer[2][0][1] = true;
		tetriContainer[2][0][2] = true;
		tetriContainer[2][1][0] = true;

		tetriContainer[3][0][0] = true;
		tetriContainer[3][0][1] = true;
		tetriContainer[3][1][1] = true;
		tetriContainer[3][2][1] = true;

		for(int i = 0;i < 4;i ++){
			if(i % 2 == 0){
				width[i] = 3;
				height[i] = 2;
			}else{
				width[i] = 2;
				height[i] = 3;
			}
		}
	}
	
	@Override
	public boolean draw(Canvas canvas, int leftPointX, int leftPointY) {
		// TODO Auto-generated method stub
		Paint pa = new Paint();
		pa.setColor(Color.LTGRAY);
		Log.v("SuperTetri", "LTetri is Drawing...");
		super.draw(canvas, leftPointX, leftPointY, pa);
		return true;
	}

}
